package com.iraeta.dao.basedata;

import com.iraeta.entity.Ordermx;
import com.iraeta.entity.vo.OrdermxVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrdermxDao {
    int insert(Ordermx record);
    int updateByPrimaryKey(Ordermx record);
    int deleteByPrimaryKey(Integer id);
    Ordermx selectByPrimaryKey(Integer id);
    OrdermxVo selectVoByPrimaryKey(Integer id);
    List<OrdermxVo> listOrdermxVo(@Param("kehuName") String kehuName, @Param("orderNumber") String orderNumber);
    List<OrdermxVo> listUserOrdermxVo(@Param("kehuId") Integer kehuId, @Param("orderNumber") String orderNumber);
}